package com.ld.security.shop.im.modules.gro.entity;

import com.ld.security.common.core.anno.IdKey;
import com.ld.security.common.mybatis.base.entity.*;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import com.ld.security.shop.im.modules.gro.constant.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import com.ld.security.common.mybatis.anno.SqlKey;
import com.ld.security.common.core.base.column.*;
import com.ld.security.common.mybatis.constant.SqlCondition;

@TableName("gro_msg_user")
@ApiModel("群组消息用户关联")
@Data
public class GroMsgUser  extends SuperEntity

 {

         @SqlKey
    @ApiModelProperty("消息状态")
    private GroMsgUserConstant.msgStatus  msgStatus;


     
     
     
             @SqlKey(SqlCondition.eq)
    @ApiModelProperty("消息编号")
    private String msgId;


     
             @SqlKey(SqlCondition.eq)
    @ApiModelProperty("用户编号")
    private String userId;


             @IdKey(value = {
                     "msgId",
                     "userId"
             })
     @Override
     public String getId() {
         return super.getId();
     }
 }
